package com.yuyou.fn.platform.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;


import java.io.Serializable;
import java.util.Date;

/**
 *
 * 顾客用户
 *
 */
@TableName(value = "customer_user")
public class CustomerUser implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<CustomerUser> createExample(){
		return new Example<CustomerUser>(CustomerUser.class);
	}

	/**  */
	@TableId(value = "user_id")
	private Long userId;

	/** 用户名 */
	private String username;

	/** 密码 md5 hash */
	private String password;

	/** 电话 */
	@TableField(value = "phone_no")
	private String phoneNo;

	/** 头像地址 */
	@TableField(value = "avatar_url")
	private String avatarUrl;

	/** 0:禁用 1:正常  */
	private Integer status;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 0:未设置 1:男 2:女 */
	private Integer sex;

	/** 省 市 区 */
	private String location;

	/**  */
	private String nickname;

	/** 兴趣 多个道号隔开 */
	private String interests;

	/*是否新创建 1是，0否*/
	@TableField(exist = false)
	private Integer ifNew;

	@TableField(value = "pp_id")
	private String ppId ;

	@TableField(value = "member_id")
	private String memberId ;

	public String getPpId() {
		return ppId;
	}

	public void setPpId(String ppId) {
		this.ppId = ppId;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getAvatarUrl() {
		return this.avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getInterests() {
		return this.interests;
	}

	public void setInterests(String interests) {
		this.interests = interests;
	}

	public Integer getIfNew() {
		return ifNew;
	}

	public void setIfNew(Integer ifNew) {
		this.ifNew = ifNew;
	}
}
